<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="shortcut icon"
    href="https://static.app.yinxiang.com/embedded-web/registration/favicon.ico"/>
    <link rel="stylesheet" href="css/wangji.css">
    <link rel="stylesheet" href="css/base.css">   
    <title>重设密码</title>
</head>
<body>
    <div class="wangjidiv">
        <div class="header">
            <a href="login.html" class="wangjilogo"></aa>
            <a href="login.html" class="denglubtn">登录</a>
        </div>
        <div class="wangjiinput">
            <div><h1 style="font-weight: normal;margin-left: 5%; padding: 20px 0;">忘记密码？</h1></div>
            <div class="line"></div>
            <div class="clearfix">
                <div class="shuoming fl">
                    请输入你的手机号或邮箱。<br>
                    你将收到重置密码的信息，可以重新设置新的密码
                </div>
                <div class="right">
                    <div class="shuoming">手机号或邮箱</div>
                    <div><input class="tel" id="tel"></div>
                    <div class="error error1" id="error1"></div>
                    <div class="shuomingbtn btn" id="shuomingbtn">重设密码</div>
                </div>
            </div>
            <div style="text-align: center;font-size:14px" id="tip"></div>
        </div>
        <div class="shuoming" style="text-align: center;"><a href="">服务条款</a> | <a href="">隐私政策</a> | 版权所有 2007-2020 大象笔记, 保留所有权利。</div>
    </div>
    <script>
        shuomingbtn.onclick = function(){
            ajax("/bijiuser/checktel",
            {
                tel: tel.value
            },
            function(data){
                error1.innerHTML = data ? "该号码未注册" : "";
                if(!data){
                    localStorage.forgetTel = tel.value;
                    location = "wangji1.html";
                }
                
            }
            );
    };
    </script>

<script src="https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/js/lib/jquery-1-cc52697ab1.10.2.js"></script>
<script src="js/base.js"></script>
</body>
</html>